package day02

/**
  * 元组
  * 元组一旦被定义不能被修改
  * 一直到22，再多了就不能用了
  */
object TupleAnd {
  def main(args: Array[String]): Unit = {
    val t = (1,4,"hello")
    println(t._3)

    val t2 = new Tuple2[String,Int]("hello",3)
  }

}
